package com.eastfair.home.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ExhibitionSiteDrawingDTO;
import com.eastfair.home.entity.ExhibitionSiteDrawing;
import com.eastfair.home.vo.ExhibitionSiteDrawingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 展会展位图纸
 * </p>
 *
 * @author dqq
 * @date 2022-12-27
 */
public interface ExhibitionSiteDrawingService extends SuperService<ExhibitionSiteDrawing> {

    /**
     * 分页查询展会展位图纸列表.
     *
     * @param pageParams the page params
     * @return the list
     */
    Page<ExhibitionSiteDrawingVO> listExhibitionSiteDrawingVO(PageParams<ExhibitionSiteDrawingDTO> pageParams);

    /**
     * 查询展会展位图纸列表.
     *
     * @param model the exhibition site drawing dto
     * @return the list
     */
    List<ExhibitionSiteDrawing> listExhibitionSiteDrawing(ExhibitionSiteDrawingDTO model);

    /**
     * 保存展会展位图纸.
     *
     * @param exhibitionSiteDrawingDTO the exhibition site drawing dto
     * @return the boolean
     */
    boolean saveExhibitionSiteDrawing(ExhibitionSiteDrawingDTO exhibitionSiteDrawingDTO);

    /**
     * 批量保存.
     *
     * @param list the list
     * @return the boolean
     */
    boolean saveBatch(List<ExhibitionSiteDrawingDTO> list);

    /**
     * 删除展会展位图纸.
     *
     * @param exhibitionSiteDrawingDTO the exhibition site drawing dto
     * @return the boolean
     */
    boolean deleteBySiteName(ExhibitionSiteDrawingDTO exhibitionSiteDrawingDTO);
}
